#ifndef BIGNUMARITHMETIC
#define BIGNUMARITHMETIC
#include <string>

using std::string;

//const static unsigned int BigDivid_defaultprecision = 50;
const static unsigned int BigDivid_defaultprecision = 8;
static string BigResult = "0";
class CBigErr;

const char* BigAdd(const char *Left,const char *Right);
const char* BigMulti(const char *Left,const char *Right);
const char* BigMinus(const char *Left,const char *Right);
const char* BigDivid(const char *Left,const char *Right,const int Precision = BigDivid_defaultprecision);

CBigErr operator +(const CBigErr &Left,const CBigErr &Right);

class CBigErr
{
private:
	string strerr;
public:
	CBigErr(const char *err);
	void ErrShow();
	friend CBigErr operator +(const CBigErr &Left,const CBigErr &Right);
};
#endif